package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;
import java.util.Date;

/**
 * Created by liusonglin on 2016/11/21.
 */
@Data
@Table(name = "t_employment_record")
public class EmploymentRecord extends BaseEntity{

    @NotEmpty
    private int customerId;

    @NotEmpty
    private Date startDate;

    private Date endDate;

    @NotEmpty
    private String agentName;

    @NotEmpty
    private String department;

    @NotEmpty
    private String duty;
}
